<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Vip</title>
</head>
<body>
    <h1>欢迎来到Vip</h1>
    <span>
    <a th:if="${session.loginUser==null}" href="http://www.lujiahong.com:9000/view/login?target=http://vip.lujiahong.com:9011/view/index">登录</a>
    <a th:unless="${session.loginUser==null}" href="http://vip.lujiahong.com:9011/view/exit">退出</a>
    </span>
    <p th:unless="${session.loginUser==null}">
        <span th:text="${session.loginUser.username}"></span><label>已登录</label>
    </p>
</body>
</html>